package com.design.pattern.simple.factory;

/**
 * @Description TODO
 * @author ll
 * @createTime 2021/5/31  22:48 
 */
public class Div extends Operator {
	@Override
	public int function() {
		if(b==0){
			return 0;
		}
		return a/b;
	}
}
